package com.shycloud.mido.organ.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.organ.api.dto.DiaryReviewDto;
import com.shycloud.mido.organ.api.entity.DiaryComment;

import org.apache.ibatis.annotations.Param;

public interface DiaryCommentMapper extends BaseMapper<DiaryComment> {
    
    IPage<DiaryComment> getComment(@Param("page") Page page, @Param("diaryId") String diaryId);

    IPage<DiaryComment> getCommentDetail(@Param("page") Page page, @Param("diaryId") String diaryId, @Param("fatherId") String fatherId);
}